global glist12donelist1, glist12donelist2, glist12donelist3, glist12donelist4, glist12donelist5, glist12donelist6, glist12graphlist
repeat with counter in list(3, 4, 5, 16)
puppetSprite(counter, 0)
end repeat
set glist12graphlist to [0, 0, 0, 0, 0]
set the visible of sprite 8 to 1
set hidehilites to 1
set completionlist to []
case the frame of
label("start"):
set hidehilites to 0
hPlayAudioSound(1, "S12i0202", 1)
label("startNarr"):
set hidehilites to 0
hPlayNarrationFile(2, "n12i01")
label("Intro"), label("Drake"):
set hidehilites to 0
label("Example"):
set hidehilites to 0
label("Click1"), label("Click2"):
hPlayClickSound(1)
set hidehilites to 0
repeat with counter = 29 to 32
set the visible of sprite counter to 0
end repeat
label("Slider1"):
hShowUncollectedNuggets(1)
hCheckCompletion()
hShowChicklet(1)
(label("Slider1") + 6):
hShowUncollectedNuggets(0)
if getProp(glist12donelist1, "button3") = 1 then
setProp(glist12donelist3, #button2, 1)
end if
hShowChicklet(1)
(label("Slider1") + 9):
hShowUncollectedNuggets(0)
setProp(glist12donelist3, #button1, 1)
hShowChicklet(1)
label("Slider2"):
hShowUncollectedNuggets(0)
hCheckCompletion()
hShowChicklet(2)
if soundBusy(2) = 0 then
if getProp(glist12donelist7, "button3") = 0 then
setProp(glist12donelist7, #button3, 1)
hPlayAudioSound(1, "n12i02", 2)
end if
end if
(label("Slider2") + 2):
hShowUncollectedNuggets(0)
hCheckCompletion()
hShowChicklet(2)
(label("Slider2") + 5):
if (the text of member "wordlist" contains "Californios") and (the text of member "wordlist" contains "tariffs") and (the text of member "wordlist" contains "ranchos") then
setProp(glist12donelist4, #button2, 1)
end if
hShowUncollectedNuggets(2)
hShowChicklet(2)
(label("Slider2") + 7):
setProp(glist12donelist4, #button1, 1)
hShowUncollectedNuggets(0)
hShowChicklet(2)
label("Slider3"):
hShowUncollectedNuggets(0)
hCheckCompletion()
hShowChicklet(3)
if getProp(glist12donelist7, "button4") = 0 then
setProp(glist12donelist7, #button4, 1)
hPlayAudioSound(1, "n12i03", 2)
end if
if getProp(glist12donelist7, "button1") = 0 then
setProp(glist12donelist7, #button1, 1)
puppetSprite(39, 1)
hPlayClickSound(4)
repeat with counter = 1 to 3
startTimer()
set the memberNum of sprite 39 to member "IconCover 00100"
updateStage()
repeat while the timer < 20
end repeat
set the memberNum of sprite 39 to member "IconCover 00000"
updateStage()
repeat while the timer < 44
end repeat
end repeat
puppetSprite(39, 0)
end if
(label("Slider3") + 2):
hPlayAudioSound(1, "u12i0103", 2)
hShowUncollectedNuggets(0)
set hidehilites to 0
(label("Slider3") + 6):
hShowUncollectedNuggets(0)
setProp(glist12donelist5, #button1, 1)
hShowChicklet(3)
(label("Slider3") + 8):
hShowUncollectedNuggets(3)
if (the text of member "wordlist" contains "ships") and (getProp(glist12donelist1, "button6") = 1) then
setProp(glist12donelist5, #button2, 1)
end if
hShowChicklet(3)
label("Slider4"):
if soundBusy(2) = 0 then
hPlayAudioSound(1, "u12i0804", 2)
end if
hShowUncollectedNuggets(4)
hCheckCompletion()
hShowChicklet(4)
(label("Slider4") + 3):
hShowUncollectedNuggets(5)
if (getProp(glist12donelist1, "button10") = 1) and (the text of member "wordlist" contains "population") and (the text of member "wordlist" contains "immigrants") then
setProp(glist12donelist6, #button1, 1)
end if
hShowChicklet(4)
if getProp(glist12donelist7, "button2") = 0 then
setProp(glist12donelist7, #button2, 1)
puppetSprite(39, 1)
hPlayClickSound(4)
repeat with counter = 1 to 3
startTimer()
set the memberNum of sprite 39 to member "IconCover 00100"
updateStage()
repeat while the timer < 20
end repeat
set the memberNum of sprite 39 to member "IconCover 00000"
updateStage()
repeat while the timer < 44
end repeat
end repeat
puppetSprite(39, 0)
end if
(label("Slider4") + 5):
hShowUncollectedNuggets(0)
if soundBusy(2) = 0 then
hPlayAudioSound(1, "u12i0704", 2)
end if
if getProp(glist12donelist1, "button8") = 1 then
setProp(glist12donelist6, #button2, 1)
end if
hShowChicklet(4)
(label("Slider4") + 8):
hShowUncollectedNuggets(0)
if soundBusy(2) = 0 then
hPlayAudioSound(1, "u12i0705", 2)
end if
setProp(glist12donelist6, #button3, 1)
hShowChicklet(4)
(label("Slider4") + 10):
hShowUncollectedNuggets(6)
if soundBusy(2) = 0 then
hPlayAudioSound(1, "u12i0706", 2)
end if
if (getProp(glist12donelist1, "button9") = 1) and (the text of member "wordlist" contains "migrants ") then
setProp(glist12donelist6, #button4, 1)
end if
hShowChicklet(4)
(label("Slider4") + 13):
hShowNuggetBagList(0)
hShowUncollectedNuggets(0)
repeat with counter = 24 to 28
puppetSprite(counter, 1)
set the visible of sprite counter to 1
set the visible of sprite (counter + 5) to 0
set the cursor of sprite (counter + 5) to [member "finger", member "finger mask"]